﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Sundry.Areas.Admin.Models
{
    public class BrandModel
    {
        /// <summary>
        /// 品牌Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 品牌名称
        /// </summary>
        [Required]
        [StringLength(30)]
        public string  BrandName { get; set; }
        /// <summary>
        /// 品牌Logo
        /// </summary>
        public string Logo { get; set; }
        /// <summary>
        /// 品牌简介
        /// </summary>
        [StringLength(100)]
        public string Intro { get; set; }
        /// <summary>
        /// 品牌排序
        /// </summary>
        public int OrderNum { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>
        public int IsShow { get; set; }
        /// <summary>
        /// 是否推荐到首页
        /// </summary>
        public int IsRec { get; set; }
        public string Extension { get; set; }
    }

    public class BrandIdModel
    {
        public int Id { get; set; }
    }
}